<?php require_once('./Home/View/template/header.php'); ?>
<?php require_once('./Home/View/template/top.php'); ?>
<?php 
		if($data['videos']){
 ?>


<div class="container">
    <div class="row row-offcanvas row-offcanvas-right">
        <div class="col-xs-12 col-sm-9">
            <div class="row text-center">
                <div class="col-xs-12 col-lg-12 mlist">
                    <h2><?php
                    	echo $data['type']['typename']; ?>专栏</h2>
                 
                    <ul class="list-inline row text-center">
                    <?php 
                
                        foreach ($data['videos'] as $row1)
                         {
                            
                        echo '<li class="col-xs-4 col-sm-3 col-lg-2"><img src="./upload1/'.$row1['pic'].'" class="responsive img-thumbnail" />';         
                        echo '<p><a href="index.php?c=detail&m=detail&id='.$row1['vid'].'">'.$row1['videoname'].'</a></p></li>';
                        
                    }

                     
                 echo '</ul>';
               ?>

             </div>
         </div>
     </div>
 </div>
	</div>

	<?php  }else{
		echo  '<h3 align="center" style="color:red;">没有相关视频！</h3>';
	}
?>

<?php require_once('./Home/View/template/rear.php'); ?>
<?php require_once('./Home/View/template/tpl/foot.php'); ?>